CVE-2023-36824
Heap overflow in COMMAND GETKEYS and ACL evaluation in Redis
Description
Redis is an in-memory database that persists on disk. In Redit 7.0 prior to 7.0.12, extracting key names from a command and a list of arguments may, in some cases, trigger a heap overflow and result in reading random heap memory, heap corruption and potentially remote code execution. Several scenarios that may lead to authenticated users executing a specially crafted `COMMAND GETKEYS` or `COMMAND GETKEYSANDFLAGS`and authenticated users who were set with ACL rules that match key names, executing a specially crafted command that refers to a variadic list of key names. The vulnerability is patched in Redis 7.0.12.
INFO
Published Date :
July 11, 2023, 5:15 p.m.
Last Modified :
April 10, 2025, 8:54 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source | 
|---|---|---|---|---|---|---|
| CVSS 3.1 | HIGH | [email protected] | ||||
| CVSS 3.1 | HIGH | [email protected] | 
Solution
- Update Redis to version 7.0.12 or later.
- If using a Linux distribution, update the relevant packages.
References to Advisories, Solutions, and Tools
                                            Here, you will find a curated list of external links that provide in-depth
                                            information, practical solutions, and valuable tools related to
                                            CVE-2023-36824.
                                        
CWE - Common Weakness Enumeration
            While CVE identifies
            specific instances of vulnerabilities, CWE categorizes the common flaws or
            weaknesses that can lead to vulnerabilities. CVE-2023-36824 is
            associated with the following CWEs:
        
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
            (CAPEC)
            stores attack patterns, which are descriptions of the common attributes and
            approaches employed by adversaries to exploit the CVE-2023-36824
            weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
			The following list is the news that have been mention
			CVE-2023-36824 vulnerability anywhere in the article.
		
                The following table lists the changes that have been made to the
                CVE-2023-36824 vulnerability over time.
            
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
- 
                            Modified Analysis by [email protected]Apr. 10, 2025 Action Type Old Value New Value Added CWE CWE-787 Added Reference Type CVE: https://security.netapp.com/advisory/ntap-20230814-0009/ Types: Third Party Advisory Added Reference Type GitHub, Inc.: https://security.netapp.com/advisory/ntap-20230814-0009/ Types: Third Party Advisory 
- 
                            CVE Modified by [email protected]Feb. 13, 2025 Action Type Old Value New Value Changed Description Redis is an in-memory database that persists on disk. In Redit 7.0 prior to 7.0.12, extracting key names from a command and a list of arguments may, in some cases, trigger a heap overflow and result in reading random heap memory, heap corruption and potentially remote code execution. Several scenarios that may lead to authenticated users executing a specially crafted `COMMAND GETKEYS` or `COMMAND GETKEYSANDFLAGS`and authenticated users who were set with ACL rules that match key names, executing a specially crafted command that refers to a variadic list of key names. The vulnerability is patched in Redis 7.0.12. Redis is an in-memory database that persists on disk. In Redit 7.0 prior to 7.0.12, extracting key names from a command and a list of arguments may, in some cases, trigger a heap overflow and result in reading random heap memory, heap corruption and potentially remote code execution. Several scenarios that may lead to authenticated users executing a specially crafted `COMMAND GETKEYS` or `COMMAND GETKEYSANDFLAGS`and authenticated users who were set with ACL rules that match key names, executing a specially crafted command that refers to a variadic list of key names. The vulnerability is patched in Redis 7.0.12. 
- 
                            CVE Modified by af854a3a-2127-422b-91ae-364da2661108Nov. 21, 2024 Action Type Old Value New Value Added Reference https://github.com/redis/redis/releases/tag/7.0.12 Added Reference https://github.com/redis/redis/security/advisories/GHSA-4cfx-h9gq-xpx3 Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/MIF5MAGYARYUMRFK7PQI7HYXMK2HZE5T/ Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/TDNNH2ONMVNBQ6LUIAOAGDNFPKXNST5K/ Added Reference https://security.netapp.com/advisory/ntap-20230814-0009/ 
- 
                            CVE Modified by [email protected]May. 14, 2024 Action Type Old Value New Value 
- 
                            CVE Modified by [email protected]Aug. 14, 2023 Action Type Old Value New Value Added Reference https://security.netapp.com/advisory/ntap-20230814-0009/ [No Types Assigned] 
- 
                            Initial Analysis by [email protected]Jul. 20, 2023 Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://github.com/redis/redis/releases/tag/7.0.12 No Types Assigned https://github.com/redis/redis/releases/tag/7.0.12 Release Notes Changed Reference Type https://github.com/redis/redis/security/advisories/GHSA-4cfx-h9gq-xpx3 No Types Assigned https://github.com/redis/redis/security/advisories/GHSA-4cfx-h9gq-xpx3 Vendor Advisory Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/MIF5MAGYARYUMRFK7PQI7HYXMK2HZE5T/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/MIF5MAGYARYUMRFK7PQI7HYXMK2HZE5T/ Mailing List, Third Party Advisory Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/TDNNH2ONMVNBQ6LUIAOAGDNFPKXNST5K/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/TDNNH2ONMVNBQ6LUIAOAGDNFPKXNST5K/ Mailing List, Third Party Advisory Added CPE Configuration OR *cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:* versions from (including) 7.0.0 up to (excluding) 7.0.12 Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:* 
- 
                            CVE Modified by [email protected]Jul. 19, 2023 Action Type Old Value New Value Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/MIF5MAGYARYUMRFK7PQI7HYXMK2HZE5T/ [No Types Assigned] 
- 
                            CVE Modified by [email protected]Jul. 19, 2023 Action Type Old Value New Value Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/TDNNH2ONMVNBQ6LUIAOAGDNFPKXNST5K/ [No Types Assigned] 
Vulnerability Scoring Details
Base CVSS Score: 8.8
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
90.84 }} -0.00%
score
0.99601
percentile
 
                         
                         
                         
                                             
                                            